package perform.startup;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

import perform.database.DatabaseProcessor;

public class SimpleStartupBroker extends StartupBroker{

	public SimpleStartupBroker(Connection connection, DatabaseProcessor databaseProcessor) {
		super(connection, databaseProcessor);
	}

	@Override
	protected void executeUpdate(String query) throws SQLException {
		Statement statement = connection.createStatement();
		statement.executeUpdate(query);
		statement.close();
		connection.commit();
	}
	
}
